//
//  ErrorForServer.m
//  EducationForParent
//
//  Created by 张宁宁 on 16/4/8.
//  Copyright © 2016年 lirenkj. All rights reserved.
//

#import "ErrorForServer.h"

@implementation ErrorForServer
@synthesize error;
@synthesize decorator;

-(BOOL)canBeUsed{
    if (decorator!=nil||error.exception!=nil||error.message!=nil||error.stackTrace!=nil) {
        return YES;
    }
    return NO;
}
@end

@implementation Error
@synthesize exception;
@synthesize message;
@synthesize stackTrace;


@end
